//
//  AboutViewController.swift
//  newShaohuoRen
//
//  Created by hujinbiao on 2018/3/24.
//  Copyright © 2018年 hujinbiao. All rights reserved.
//

import UIKit

class AboutViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        self.title = "关于我们"
    }
    
    @IBAction func customerBtnAction(_ sender: UIButton) {
        UIApplication.shared.openURL(URL(string: "telprompt://400-181-3838")!)
    }
    
    @IBAction func officialBtnAction(_ sender: UIButton) {
        let business_url = "www.ishaohuo.cn"
        let webViewController = RxWebViewController(url: URL(string: business_url))
        navigationController?.pushViewController(webViewController!, animated: true)
    }
}
